package com.android.paipaiguoji.model.detail;

/**
 * Created by lnest-php on 2017/9/18.
 */

public class DirectBuyLLPayData {

    /**
     * data : {"paycode":"alipay_sdk=alipay-sdk-php-20161101&app_id=2017051007189701&biz_content=%7B%22body%22%3A%22%5Cu5728%5Cu7ebf%5Cu652f%5Cu4ed8%22%2C%22subject%22%3A%222017091809403454994810%22%2C%22out_trade_no%22%3A%2220170918094034549948101025%22%2C%22total_amount%22%3A30%2C%22product_code%22%3A%22QUICK_MSECURITY_PAY%22%7D&charset=UTF-8&format=json&method=alipay.trade.app.pay&notify_url=http%3A%2F%2Fjm.lnest.cc%2Fwelcome%2Fapprespond%2Falipayapp&sign_type=RSA2&timestamp=2017-09-18+09%3A47%3A46&version=1.0&sign=Bc3YHIazVCrp9wwSXJdOvPSesB2vClevGNa%2Fa4pVKRYqSykf6iMfBF7YPJfDV8i2Tq%2F%2FkZ0y5eUk7RbZHbmFlpgqBcTOu3nb6zIT%2BHu%2Bppnc4hF5LSDWIbpwN5bb3YkRnAiCYbq4UUD8kd3UUzYYaswABDgdTRQj79HX67DzaZhj4kESE%2BTcwRBvaGpMklaLNZDJFCkdYOyVTa785dAt3tPiEfYBaRNOMLRRcteCQ8ytAHctImxDNikO64ihDhyV%2F2N%2Fx%2B4lv8x2n7pPZ3Pn%2BxtYlcmX6PgdJOUPh%2BEhFfk5XXeWTUHo1aWZLBaeJT6gklQuQ1u71LL2KtpWMbrkdA%3D%3D"}
     * flag : true
     * code : 0
     * msg : 操作成功
     * time : 1505699266
     */

    private DataBean data;
    private boolean flag;
    private int code;
    private String msg;
    private int time;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean {
        /**
         * paycode : alipay_sdk=alipay-sdk-php-20161101&app_id=2017051007189701&biz_content=%7B%22body%22%3A%22%5Cu5728%5Cu7ebf%5Cu652f%5Cu4ed8%22%2C%22subject%22%3A%222017091809403454994810%22%2C%22out_trade_no%22%3A%2220170918094034549948101025%22%2C%22total_amount%22%3A30%2C%22product_code%22%3A%22QUICK_MSECURITY_PAY%22%7D&charset=UTF-8&format=json&method=alipay.trade.app.pay&notify_url=http%3A%2F%2Fjm.lnest.cc%2Fwelcome%2Fapprespond%2Falipayapp&sign_type=RSA2&timestamp=2017-09-18+09%3A47%3A46&version=1.0&sign=Bc3YHIazVCrp9wwSXJdOvPSesB2vClevGNa%2Fa4pVKRYqSykf6iMfBF7YPJfDV8i2Tq%2F%2FkZ0y5eUk7RbZHbmFlpgqBcTOu3nb6zIT%2BHu%2Bppnc4hF5LSDWIbpwN5bb3YkRnAiCYbq4UUD8kd3UUzYYaswABDgdTRQj79HX67DzaZhj4kESE%2BTcwRBvaGpMklaLNZDJFCkdYOyVTa785dAt3tPiEfYBaRNOMLRRcteCQ8ytAHctImxDNikO64ihDhyV%2F2N%2Fx%2B4lv8x2n7pPZ3Pn%2BxtYlcmX6PgdJOUPh%2BEhFfk5XXeWTUHo1aWZLBaeJT6gklQuQ1u71LL2KtpWMbrkdA%3D%3D
         */

        private PaycodeBean paycode;
        private OrderBean order;
        public PaycodeBean getPaycode() {
            return paycode;
        }

        public void setPaycode(PaycodeBean paycode) {
            this.paycode = paycode;
        }

        public OrderBean getOrder() {
            return order;
        }

        public void setPaycode(OrderBean order) {
            this.order = order;
        }


        public class PaycodeBean{
//            form_action	https://wap.lianlianpay.com/payment.htm
//            req_data	{"app_request":"3","busi_partner":"109001","dt_order":"20171223141233","info_order":"支付 0.5商家券","money_order":"0.5","name_goods":"0.5商家券","no_order":"184","notify_url":"http://www.paipaiwang.com.cn/welcome/llpay_notify","oid_partner":"201712150001280608","risk_item":"{\"frms_ware_category\":\"1005\",\"user_info_mercht_userno\":76,\"user_info_bind_phone\":\"15098012693\",\"user_info_dt_register\":\"1514007932\",\"goods_count\":1,\"frms_client_chnl\":\"16\"}","sign_type":"RSA","url_return":"http://www.paipaiwang.com.cn/welcome/llpay_return","user_id":"76","valid_order":"10080","sign":"uz58qFU7YQczGUp1GQ81DAzn5A2Z6SGhXFT0+DmHySCq7U2ukf6N4LIRRzVFyr9rxEot1xnExI/NBgwUf+yXB+8Vo3LQOWNTXWoiVBca6X+B1nKzf2EovaokG5UGCIam8e28H/R2/8K+kEg69bRD68TWCHEdanrAm5LMkuM/szs="}
            private String form_action;
            private String req_data;
            public String getformaction() {
                return form_action;
            }

            public void setformaction(String form_action) {
                this.form_action = form_action;
            }

            public String getreq_data() {
                return req_data;
            }

            public void setreq_data(String req_data) {
                this.req_data = req_data;
            }
            public class ReqData{
//                app_request	3
//                busi_partner	109001
//                dt_order	20171223141233
//                info_order	支付 0.5商家券
//                money_order	0.5
//                name_goods	0.5商家券
//                no_order	184
//                notify_url	http://www.paipaiwang.com.cn/welcome/llpay_notify
//                oid_partner	201712150001280608
//                risk_item	{"frms_ware_category":"1005","user_info_mercht_userno":76,"user_info_bind_phone":"15098012693","user_info_dt_register":"1514007932","goods_count":1,"frms_client_chnl":"16"}
//                sign	uz58qFU7YQczGUp1GQ81DAzn5A2Z6SGhXFT0+DmHySCq7U2ukf6N4LIRRzVFyr9rxEot1xnExI/NBgwUf+yXB+8Vo3LQOWNTXWoiVBca6X+B1nKzf2EovaokG5UGCIam8e28H/R2/8K+kEg69bRD68TWCHEdanrAm5LMkuM/szs=
//                sign_type	RSA
//                url_return	http://www.paipaiwang.com.cn/welcome/llpay_return
//                user_id	76
//                valid_order	10080

//                private String app_request;
//                private String busi_partner;
//                private String dt_order;
//                private String info_order;
//                private String money_order;
//                private String name_goods;
//                private String no_order;
//                private String notify_url;
//                private String oid_partner;
//                private String risk_item;
//                private String sign;
//                private String url_return;
//                private String user_id;
//                private String valid_order;
//
//                public String getApp_request() {
//                    return app_request;
//                }
//
//                public void setApp_request(String app_request) {
//                    this.app_request = app_request;
//                }
//
//                public String getBusi_partner() {
//                    return busi_partner;
//                }
//
//                public void setBusi_partner(String busi_partner) {
//                    this.busi_partner = busi_partner;
//                }
//
//                public String getDt_order() {
//                    return dt_order;
//                }
//
//                public void setDt_order(String dt_order) {
//                    this.dt_order = dt_order;
//                }
//
//                public String getInfo_order() {
//                    return info_order;
//                }
//
//                public void setInfo_order(String info_order) {
//                    this.info_order = info_order;
//                }
//
//                public String getMoney_order() {
//                    return money_order;
//                }
//
//                public void setMoney_order(String money_order) {
//                    this.money_order = money_order;
//                }
//
//                public String getName_goods() {
//                    return name_goods;
//                }
//
//                public void setName_goods(String name_goods) {
//                    this.name_goods = name_goods;
//                }
//
//                public String getNo_order() {
//                    return no_order;
//                }
//
//                public void setNo_order(String no_order) {
//                    this.no_order = no_order;
//                }
//
//                public String getNotify_url() {
//                    return notify_url;
//                }
//
//                public void setNotify_url(String notify_url) {
//                    this.notify_url = notify_url;
//                }
//
//                public String getOid_partner() {
//                    return oid_partner;
//                }
//
//                public void setOid_partner(String oid_partner) {
//                    this.oid_partner = oid_partner;
//                }
//
//                public String getRisk_item() {
//                    return risk_item;
//                }
//
//                public void setRisk_item(String risk_item) {
//                    this.risk_item = risk_item;
//                }
//
//                public String getSign() {
//                    return sign;
//                }
//
//                public void setSign(String sign) {
//                    this.sign = sign;
//                }
//
//                public String getUrl_return() {
//                    return url_return;
//                }
//
//                public void setUrl_return(String url_return) {
//                    this.url_return = url_return;
//                }
//
//                public String getUser_id() {
//                    return user_id;
//                }
//
//                public void setUser_id(String user_id) {
//                    this.user_id = user_id;
//                }
//
//                public String getValid_order() {
//                    return valid_order;
//                }
//
//                public void setValid_order(String valid_order) {
//                    this.valid_order = valid_order;
//                }
            }
        }

        public class OrderBean{
//            amount	0.5
//            c_time	1514009553
//            coin	200
//            coin_total	200
//            content	0.5兑换100趣豆
//            cost_amount	0
//            cost_price	0.00
//            count	1
//            end_time	0
//            goods_name	0.5商家券
//            log_id	184
//            mid	76
//            mobile	188
//            order_amount	0.5
//            order_id	164
//            order_sn	20171223141233_184
//            out_trade_no	20171223141233_184
//            pay_id	64
//            pay_time	0
//            price	0.50
//            start_time	0
//            status	1
//            summary	0.5
//            thumb	http://paipaiwang.test.upcdn.net/upload/1/images/gallery/0/i/19_src.jpg
//            title	0.5商家券
//            voucher_id	4
                private float  amount;
            private int c_time;
            private String coin;
            private int coin_total;
            private String content;
            private int cost_amount;
            private String cost_price;
            private int count;
            private String end_time;
            private String goods_name;
            private int log_id;
            private int mid;
            private String mobile;
            private String order_amount;
            private int order_id;
            private String order_sn;
            private String out_trade_no;
            private int pay_id;
            private int pay_time;
            private String price;
            private String start_time;
            private int status;
            private String summary;
            private String thumb;
            private String title;
            private String voucher_id;

            public float getAmount() {
                return amount;
            }

            public void setAmount(float amount) {
                this.amount = amount;
            }

            public int getC_time() {
                return c_time;
            }

            public void setC_time(int c_time) {
                this.c_time = c_time;
            }

            public String getCoin() {
                return coin;
            }

            public void setCoin(String coin) {
                this.coin = coin;
            }

            public int getCoin_total() {
                return coin_total;
            }

            public void setCoin_total(int coin_total) {
                this.coin_total = coin_total;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public int getCost_amount() {
                return cost_amount;
            }

            public void setCost_amount(int cost_amount) {
                this.cost_amount = cost_amount;
            }

            public String getCost_price() {
                return cost_price;
            }

            public void setCost_price(String cost_price) {
                this.cost_price = cost_price;
            }

            public int getCount() {
                return count;
            }

            public void setCount(int count) {
                this.count = count;
            }

            public String getEnd_time() {
                return end_time;
            }

            public void setEnd_time(String end_time) {
                this.end_time = end_time;
            }

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public int getLog_id() {
                return log_id;
            }

            public void setLog_id(int log_id) {
                this.log_id = log_id;
            }

            public int getMid() {
                return mid;
            }

            public void setMid(int mid) {
                this.mid = mid;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getOrder_amount() {
                return order_amount;
            }

            public void setOrder_amount(String order_amount) {
                this.order_amount = order_amount;
            }

            public int getOrder_id() {
                return order_id;
            }

            public void setOrder_id(int order_id) {
                this.order_id = order_id;
            }

            public String getOrder_sn() {
                return order_sn;
            }

            public void setOrder_sn(String order_sn) {
                this.order_sn = order_sn;
            }

            public String getOut_trade_no() {
                return out_trade_no;
            }

            public void setOut_trade_no(String out_trade_no) {
                this.out_trade_no = out_trade_no;
            }

            public int getPay_id() {
                return pay_id;
            }

            public void setPay_id(int pay_id) {
                this.pay_id = pay_id;
            }

            public int getPay_time() {
                return pay_time;
            }

            public void setPay_time(int pay_time) {
                this.pay_time = pay_time;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getStart_time() {
                return start_time;
            }

            public void setStart_time(String start_time) {
                this.start_time = start_time;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getSummary() {
                return summary;
            }

            public void setSummary(String summary) {
                this.summary = summary;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getVoucher_id() {
                return voucher_id;
            }

            public void setVoucher_id(String voucher_id) {
                this.voucher_id = voucher_id;
            }
        }

    }
}
